<?php
include_once('lib/includeHub.php');

if(isset($_SESSION['user_id'])){
	$curUser=new User($_SESSION['user_id']);
	echo '<a href="changepasswd.php">'.$curUser->name.'</a>';
	echo $curUser->reputation;
} else {
	echo '<a href="login.php">Log in</a> or <a href="register.php">Register</a>';
}
?>
